<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php echo  $this->Html->css(array('system','login','rounded','general','icon','menu','component','PopupPanel','dhtmlgoodies_calendar','validationEngine.jquery')); ?>
<!--[if IE 7]>
	<link rel="stylesheet" href="<?php echo DOMAIN?>/css/ie7.css" type="text/css" />
	<![endif]-->
	<!--[if lte IE 6]>
	<link rel="stylesheet" href="<?php echo DOMAIN?>/css/ie6.css" type="text/css" />
	<![endif]-->
<?php //echo $javascript->link(array('jquery-1','jquery-1.4.2','jquery_005','jquery-ui-1','jquery-dynamic-form','jquery-validate','jquery.validationEngine','md5','utils','jquery-menu','script')); ?>
<?php echo $javascript->link(array('jquery-1.4.2','jquery-validate','md5','utils','jquery-menu','script','jquery.validationEngine')); ?>

<style type="text/css">
		form#adminForm label.error{
			color: red;
			font-style: italic;
			font-size: 1.0em;
			font-weight: normal;
		}
		form#adminForm label.error { display: none;}
</style>
<title>Hệ thống quản lý Website</title>
	<script type="text/javascript">
	/*<![CDATA[*/
		document.menu = null;
		document.addLoadEvent(function(){
			if(!$('#menu').hasClass('disabled')) {
				document.menu = $('#menu').menu();
			}
		});
	/*]]>*/
	</script>
    <script>
function keypress(e){
  var keypressed = null;
 if (window.event)
 {
 keypressed = window.event.keyCode; //IE
 }
 else
 { 
 keypressed = e.which; //NON-IE, Standard
 }
	//alert (keypressed);ds
 if (keypressed < 48 || keypressed > 57)
 { 
 
 if (keypressed == 8 || keypressed == 127 || keypressed ==46 )
 {//Phím Delete và Phím Back
 return;
 }
 if (keypressed == 45 || keypressed == 32)
 {//Phím Delete và Phím Back
 return true;
 }
 return false;
 }
 }

</script>
</head>

<body>
<?php echo $this->element('header'); ?>
<?php echo $this->element('menu'); ?>
<?php echo $content_for_layout; ?>
<?php echo $this->element('footer'); ?>
</body>
</html>